var my_vue;
$(function() {
	var code = parseQueryString().code;
	my_vue = new Vue({
		el: '#vue_info',
		data: {
			apply: {
					accordingInfo: "",
					childType: "",
					legalTimeLimit: 5,
					name: "",
					applyMaterial: [

					],
					isCharge: "",
					dept: ""
			}
		},
		methods: {
			getRepoInfo: function() {
				this.$http.get(gover.getRepoInfo/*+"?t="+new Date().getMilliseconds()*/, {
					code: code
				}).then(function(result) {
					console.log(toJson(result.data));
					if(result.data.success) {
						unMask();
						this.apply = result.data.data;
					} else {
						unMask();
						console.log(result.data.message);
					}

				}, function() {
					unMask();
				})
			}
		},
		ready: function() {
			//初始化获得总页面数和列表数据
			this.getRepoInfo();
		}
	});

});